package com.furongji.education.domain.dto;

import com.furongji.common.enums.CommentTargetTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class CommentDto {

    @Schema(description = "被评论对象ID（课程ID或文章ID）")
    private String targetId;

    @Schema(description = "被评论对象类型，course/article等")
    private CommentTargetTypeEnum targetType;

    @Schema(description = "评论内容")
    private String content;

    @Schema(description = "父评论ID，0为主评论")
    private String parentId;
}
